package com.hex.ds.hdrs.period.task.dto.depend;

import com.hex.ds.hdrs.period.task.dto.depend.DependNodesDto;
import com.hex.ds.hdrs.period.task.dto.depend.DependRelationDto;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * @Package: com.hex.ds.hdrs.period.job.vo
 * @ClassName TaskAllDependVo
 * @Description:任务的所有上游或者下游依赖VO对象
 * @Author: <gc.zuo>
 * @Date 2022/2/10 14:24
 * @Version v1.0
 **/
@Data
@NoArgsConstructor
public class TaskAllDependDto {

    public TaskAllDependDto(String rootId){
        this.rootId = rootId;
    }

    private String rootId;

    private List<DependNodesDto> nodes = new ArrayList<>();

    private List<DependRelationDto> links = new ArrayList<>();

    private String errMessage;
}
